473,489 Members | 2,490 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Help with VB-Macro

1 New Member
I will be the first to admidt.. I'm a Access-VB Id10t.
Now that we have that covered, this is what I'm trying to do...

In a form I have 2 fields INPUT & LOCVAR, these fields are not attached to any table.

I need a select and update macro that will do the following
After Update of INPUT execute
FIND 'FORM-INPUT' from TapeInfoTable\BarcodeColumm
IF 'FORM-INPUT' is equal to BarcodeColumm
then UPDATE LOCATIONColumn to equal FORM-LOCVAR
also UPDATE TIMEColumn to Now()
After complete, return to form and clear INPUT field for new entry

Any and all help will be appreciated... hopefully that makes sence enough to someone on this llist

Mike
Jan 24 '12 #1
1 1163
NeoPa
32,556 Recognized Expert Moderator MVP
What I think you need is a form that maintains the [TapeInfoTable] with an unbound control (TextBox or ComboBox) that enables you to filter the record to update. At that point you can update the [Location] field via its (bound) control on the form. An AfterUpdate of that control could trigger code to set the current time value in the control for [Time]. Use the wizards to help you design the original form and Example Filtering on a Form to help on the filtering side.

Does that all make sense?
Jan 24 '12 #2

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

Similar topics

0
2173
by: Dim S | last post by:
Hi I'm trying to add an OPTION element to a SELECT element inside from VB Dim oSel As HTMLSelectElement Dim oOpt As HTMLOptionElement Set oSel = mDoc.All("oSelect") Set oOpt =...
3
7811
by: Jay | last post by:
I previously posted this question under Visual Basic newsgroup, but was advised to re-post here. I'm hoping someone can help me solve an issue I'm having with VB.Net and Access 2000. Here's...
2
3602
by: serge calderara | last post by:
Dear all, I have build a setup project for my VB.NET application, I need to know the installation path of an application in order to add file in it. How can do that inside my setup project ?...
0
848
by: Tim | last post by:
Hi, Yesterday I installed VB.NET on my machine. I had been runnng SQL Server 2000. After the install SQL Server will not run. SQLAgent fails with the error "1068: The dependency service or...
0
956
by: BrianDH | last post by:
Hi I have a web form with a Datagrid. Within the data grid I have a button. If the button is of type "Linkbutton" my VB code-behind will catch the users "click" However, if it is set to...
5
2861
by: Andrew | last post by:
Hey all, Requesting help from the VB.Net gurus in here. I was given a task to write a Windows Service (VB.Net) that would run an external program, and if that program closed for any reason...
0
857
by: BrianDH | last post by:
Hi I have a VB.Net windows application that’s running on 30 PCs. All in the same network. All PCs run XP Pro. All PCs have Framework 1.1 2 of the PC throw an error when they try to send mail...
0
2160
by: Billie Boy | last post by:
Hi to all. I’m new here and am coming to you from Melbourne Australia. So a big HELLO 2 ALL. Now I am encountering an annoying problem in the SQL builder of the copy of VB.6 that I am using at...
0
780
by: douglas | last post by:
Can I create my own DLL by vb.net and register as a COM+ service? Can it be referenced by ASP.NET. I want to create a SINGLE COM+ library for many different Web-apps.... Besides COM+, is...
0
1272
by: sheenitmathew | last post by:
Hai all, I developed an application software using VB 6.0 at front end and MS Access 2000 at the back end. The application runs very slow as the size of the database increses. I used ODBC...
0
7108
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7181
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6847
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4875
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1383
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
618
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.