473,383 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Need Correct Syntax for moving data from a Record in a table to a form

I have found the record in a table, but I need the correct syntax to display it on the form

What I have is the Forms!frmBadWater!Vaults = rst!Vaults

I have tried for days old Access 1.0 Program stopped worked with last Microsoft Update

Any help would be appreciated

Thanks

Tony
Apr 22 '22 #1
1 11066
zmbd
5,501 Expert Mod 4TB
Hello, Zinenagetto - Welcome to Bytes!

I am amazed that your Access1.0 program was still operational as it was released in 1992 - several Win-OS and updates since then that should have taken it down hard long before now - none of the current versions of Access will even open a DBS file that old!

Your form should be tied to the data source, either from a query or table - thus, you really shouldn't need any VBA for simple returns.
However, if you are running VBA to build the query then you would set the form's record-source property to the returned record-set and then the controls, under the data tab, would have their control source set to the corresponding fields of the returned record-set.
Might be MUCH easier to setup a parameter based query that returns records based upon user entry, either via form control or direct prompt from the query itself (depending on what type of interaction you want with the end user, I prefer the form based as I can customize the prompt given to the user).

If you can give us a bit more information about what you are trying to do, and what version of Access/Office you are currently using, we can help you a bit more as, on first reading anyway, it sounds like you're trying to use a cannon to kill a mosquito
Apr 22 '22 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Josh Strickland | last post by:
I am attempting to create an Access database which uses forms to enter data. The issue I am having is returning the query results from the Stored Procedure back in to the Access Form. ...
1
by: abc my vclass | last post by:
Is VS2005 debugger let me to see dataset, datatable data as table form? I found if I watch some table or dataset variable is very very hard to see. Is there any good tools or add-ins for debugger...
1
by: zainis | last post by:
Hello everyone. Anyone can help me to create mdc (multi dimensional clustering) table? I am using iSeries i5 V5R3 and DB2 V8.1. So far i could not find any manual/redbook explaining the...
1
by: cah1109 | last post by:
my program is supposed to search through an array for a searched name and then post the results in a list box. Now the problem is i need to be able to double click on that results from my search in...
1
by: rickair7777 | last post by:
Hi, I'm an ex-Notes guy, doing an Access 2007 project. I'm a little weak on Access syntax and functionality. It's not a customer database, but it will be easier to describe it in those terms......
4
by: leeg | last post by:
Hi all, I am having trouble finding out how to stop a new record showing on my form when there are no records showing in my underlying query Query criteria is populated from a form text box and...
4
by: prosad | last post by:
hello, Just solved a problem using Javascript onclick, can click on any cell in a dynamic table and it will pass the innerText object value to my form text field. parts of code given below: ...
0
by: Haroon Rafik | last post by:
I need to print preview data on a form (not a file or documen) using the PrintPreviewDialog componenet. I know how to do it using the PrintForm component, but I need to use the PrintPreviewDialog...
2
by: Martymcfly | last post by:
Im having some trouble trying to do this. Can somebody please help me..? I have 3 forms: FORM A, FORM B, FORM C. FORM A lets me put data into a couple of text boxes ("Invoice No." & "Days...
8
by: Reddeppa | last post by:
EXEC master..xp_cmdshell 'BCP "'select * from tmp_ACS_MultiDimensional where cName = 'CH All Workstations''" QUERYOUT ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.