Sponsored White Papers, Webcasts, and Downloads
Additional Resources
- Number of records in a table with VBA
- How can I determine the number of records in a table programmatically using VBA?This is crude, bu it works...Function NumberOfRecordssTableName as String as integer Dim MyRecordset As RecordsetDim MyQueryDef As QueryDefDim MySQL As StringNumberOfRecords = 0On Error GoTo ErrHandlerSet MyQueryDef = NothingSet MyRecordset = NothingMySQL = "SELECT * FROM "...
- Tags: darrellrisley@..., software, Error, String, Nothing, Set MyRecordset, VBA
- Q&A 2006-09-13
- Commondialog in VB6
- how do i use commondialog in VB6 for the openfiledialog function?I tried to program it as below, but didnt work.Dim openFile As New Commondialogcommondialog.showopenbut I do not get commondialog class from IDE and get a syntax error at the Dim openfile.... line-TIAMparamDIM var as New typevar.methodas inDim MyLabel as New...
- Tags: Label
- Q&A 2005-11-03
- Access - form to sub form automatic entry
- I'm trying to refine my Invoice Tracking program to have to vendor name automaticly entered on the parts sub form. Made a text box on the subform and clicked on the table line in the data box to the vendor table on the sub form. Then tried [Form]![Name...
- Tags: access, automatic entry, form to sub form, Goto, Microsoft Access, ricky4143@..., software, vName
- Discussion threads 2005-12-03
- dao.recordset.FindFirst
- I have a syntex errormissing operator in expression for the FindFirst statement in following code which run in access form vba routineOption ExplicitPrivate Sub Form_Load On Error GoTo errAddNode Const strTableQueryName = "Quantity" Dim db As DAO.Database,...
- Tags: strParentField, DAO.Recordset Dim strParentField, String Dim strCriteria
- Q&A 2005-07-29
- VBA Expert..urgent help
- ****** Following code giving run time error 438 *** how to fix that error..pls help..its urgent'Dim Cell As RangeDim myWord As ObjectDim PathDocu As String Set myWord = CreateObject("word.application") 'Set myWord = GetObject(,
- Tags: fanku@..., myWord.ActiveDocument.Bookmarks, programming, software, VBA
- Discussion threads 2006-11-03
- VBA Expert..urgent help
- ****** Following code giving run time error 438 *** how to fix that error..pls help..its urgent'Dim Cell As RangeDim myWord As ObjectDim PathDocu As String Set myWord = CreateObject("word.application") 'Set myWord = GetObject(,
- Tags: fanku@..., myWord.ActiveDocument.Bookmarks, programming, software, VBA
- Discussion threads 2006-11-03
- Send an e-mail from a table in Access without switching to an e-mail client
- emails from AccessI would like to send a form letter from Access to a group of people identified in the database with a personalized touch by adding their name to the form letter and a field from a table. How can I do this?ResponseAdd this code to a module...
- Tags: access, Add, aston@..., AttachmentPath, e-mail, emails, form letters, hardware, Microsoft Access, Set objOutlookRecip, sRecipientCC, String
- Discussion threads 2005-09-07
- VBA Using Access Form with SQL Data
- I am trying to figure out why the below VB Code is not working. I do not get any errors just an hour glass for a few seconds and then nothing. I tested the SQL script and it returns the correct data. I also tested the VB...
- Tags: Error GoTo Err_RDPSystemInfo_Click Dim WshShell Dim stAppName, programming, SQL, String stAppName, systeminformation, twhite@..., VBA
- Q&A 2005-08-03
- Dim the variables
- In VBA under Access (A2K) when IDim myStr AsString------------^- no space as you did in your code listing - it throws a error. Same for your second variable
- Tags: Scripting languages, ray.learmond@...
- Discussion threads 2007-05-18
- ACCESS 2000 LINKED TABLE
- Can anyone tell me how to link to a table in another database that may get moved and automatically update link. Both databases will stay together in the same directory, but the two of them will get moved occasionally.ThanksCall the following function either as an Autoexec macro or as an...
- Tags: GW0001, LL, Microsoft Access, software, tbl.Connect
- Q&A 2005-03-08
- Error 1026 Using SHFileOperation
- I am using SHFileOperation to copy some files from an Install CD to the Target folder. The program works fine on W2K and XP, but under W98, I get a File System Error (1026).I know that this Function needs to have the Null characters added properly, & I have done...
- Tags: Error 1026 Using SHFileOperation, Long Dim, icscomputersaz@..., programming, SHFileOperation, String, String Dim
- Discussion threads 2005-01-26
- VB6 - Verifying if MS Access Table exists in database
- I am in vb and have an sql string created to drop/create/insert data into a table. Is there someway I could check to see if the tables exists before I try to drop it.wrong forumThis question belongs in Technical Q & A. I will look for it there, because...
- Tags: ADODB.Connection, ADOX.Catalog, ashley.rowbottom@..., database, Dim, Dim cat, Microsoft Access, Microsoft Corp., Microsoft Visual Basic 6.0, programming, Public Function TableExists, Table Name
- Discussion threads 2004-10-01
- Error "Macro Not found" VB - Urgent Help
- xlApp.Run "SetparentForm", Me while executing the above line in the Windows XP,we are getting error Macro "Setparentform" not found.But the same piece of code gets executed in the NT machine.SetParentForm is property in the excel vba.The macro call works fine the very first time and will not work later....help is...
- Tags: bhaskar.bhaskar@..., Macro, Microsoft Visual Basic, programming, SetparentForm
- Discussion threads 2005-01-26
- how to create a ms dos boot menu?
- does anyone remenber about batch files?how to make a boot menu? i tried this but didn't work. @echo off :begin cls choice in/c:123 pick a nember (1,2, or 3) % 1 if errorlevel=3 goto three if errorlevel=2 goto two if errorlevel=1 goto one goto end :three echo you have pressed...
- Tags: felibertofaria@...
- Discussion threads 2007-06-16
- what is wrong with this script?
- What is worng with this batch file ??? lets say i save that as comp.bat. after typing comp i have Enter folder to compress:
- Tags: batch, command line, Enter folder, gulik@..., script, windows, windows batch, winrar, winrar batch
- Discussion threads 2006-09-18
- Visual Basic 6.0 help
- I'm getting an error Run time error '6' overflow. Help me!! Tell me what's wrong.Private Sub cmdbutton_ClickDim population As IntegerDim years As Integeryears = 0population = 6000000Do While population > 10000000population = population * 0.014years = years + 1LooppicWhen.Print "In"; years; "Population will be"; population;End SubDear Friend,It is very...
- Tags: dodotwilson@..., it management, Microsoft Visual Basic, Microsoft Visual Basic 6.0
- Discussion threads 2004-10-20
- Code runs but doesn't save the file
- I have a file which opens in one directory and when closed the user is presented with a different directory to save in.The code attached lets me present the user with the proper name, allows you to click all of the right buttons but doesn't save the file.if I click...
- Tags: rroylance@..., Dim sQ, sFileName
- Discussion threads 2007-07-25
- vb6.0 + ADO + Win Vista = Erro 2147467259
- I have an aplication developed in VB6.0, wok fine in win 98, ME, XP, 2000, 2003, but now dont work in Win Vista.After hours trying resolve the problem, installing MDAC 2.7 and 2.8 , set debug points in code, I have identify where is the bug but I dont know...
- Tags: tostafig@..., Win Vista, vb6.0, truncate connection string, windows, software, programming, windows vista, ado, connectionstring, ConnectionString
- Discussion threads 2007-02-13
- MS Acess Dlookup, checkboxes and dates
- I've created a MS access database to keep track of traffic thru a gate using a scanner. If a person comes in a chk box is marked, if out the "In" box is unchecked and the "out" box checked and so on back and forth. I also want to maintain...
- Tags: ecampos, Me.chkIn, Microsoft Corp., software, Surname
- Q&A 2005-08-16
- << Previous
- page 1 of 1
- Next >>