Can someone help!
Can't get this to work.............driving me mad.
=DLookUp("[FilterDescription]","tblFilterDescrip","[DescripIDNumber]=" & Forms!frmProductSelector!cboProdDesc)
Thanks in advance!
I am using SQL to update a table using a form, code below:
strSQL = "INSERT INTO tblQuote ( ProductIDNumber, Range )
"SELECT tblProductData.ProductIDNumber, tblProductData.Range, " & _
"FROM tblProductData " & _
"WHERE tblProductData.FilterDescription" &...
I have a form which is a continuous Form, using a combo you select a filter to display set data. Generaly there are two records. I then have a update sql statement to append the data to a table. The code appends the first record OK, but not the second record. I am assuming you would do some...
Hi
I am trying to update a table with data selected from a list box, I have tried the code below with out success, can any one help.
Thanks in advance...........
Dim strCriteria As String
Dim varItem As Variant
Dim strSQL As String
For Each varItem In Me!lsthold.ItemsSelected...
I have two list boxs on a form, lstDescription Rowsource to a query, lstHold is unbound. What I would like to do is when you select a record in lstDescription, put the record in lstHold, this could be just one record or build up many records in lstHold.
I have tried using this could with out...
Ideas please
Does anyone have any ideas on how I can append the data from a quey to a table in another data base! The key here is I want the data to be added to the existing!
Hi
Have got this code but cannot get it to work. Has anyone have any idea why! It cannot find the input table dbCentralFulfillment!
Dim dbs As Database
Set dbs = OpenDatabase("C:\Documents and Settings\ithompson\Desktop\XeroxCentralDataBase.mdb")
dbs.Execute ("INSERT INTO tblFulfillment " _...
I am trying to copy data from a table then name the table with the Now() data. So each time the code is run a new table is created named with the date and time.
I have used this so far:
DoCmd.RunSQL ("SELECT * INTO datNow FROM xx")
Can anyone help!
Hi
I am trying to append data from a form to a table. I have completed the vba below with out success. Can anyone help!
Dim intBatchNumber As Integer
Dim strType As String
Dim dbs As Database
Set dbs = OpenDatabase("PrintActivity.mdb")
intBatchNumber =...
Hi
I have a calendar control on a form. When I click on a date it populates a field in a subform.
How can I get the code to move to the next blank record in the subform so when I click on a new date it populates the next record!
This is the code I us to populate the subform:
[tblSickLeave...
I have a text box on a form which shows a auto number. I would like to format the number when shown to split ie (123 456) instead of (123456). Can any one help! Thanks in advance. :
Hi
When I open a database, I would like to look at the current date, convert it to the month and update a table with the month only if it has not already been recorded. Is there a way of doing this!
Hi
I have a multy user DB. Is it possible to identify who is using the data base. Access 2000 locks out if a user is inactive over a period of time which means no one else can us it!