473,698 Members | 2,192 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Check for a value on a form across a network

283 Contributor
Hello everyone,

What im trying to do is have a form that will check for a value in a TxtBox across a network.

I have a form that when creating a new record it automatically creates a new record number, but the database is running on many computers at the same time and if they all go to create a new record they will all start with the same number, is there anyway to have the database look at all the open forms to check and see if a form already has the starting value and if so then go to the next number (which would be an increment of 1)

For example if computer A, B, C all have the form open.
If A says record 1 then B will change to 2 and C will then change to 3.

Im not even sure if this is possible. I have been doing a bunch of research on this but cant seem to find any solution. Only thing i can find is after you save which does not really help me, because im am trying to avoid the possiblitity if two people are creating the same record and save at the exact same time it wont let them both create the same record. Which currently my program does. Of course if they wait like 1 sec apart it will catch it in the Table but i would like to catch it before that.

Thanks in advance for any info or help on this :D
Apr 30 '11 #1
3 1604
TheSmileyCoder
2,322 Recognized Expert Moderator Top Contributor
Thats what the autonumber is there for. It will draw a number wheb you start creating a record. Any user who starts a new record will get the next unique number.
Apr 30 '11 #2
slenish
283 Contributor
Yeah unfortnatly that does not work for me. Because i have certain Critera to go along with creating the record number. For example it looks at a name and a date to verify that you are creating the right record to go along with the date and name...

I am currently using the DMax function to call the next record number which works, just trying to get it to check across all the forms.

Thanks for the quick response
Apr 30 '11 #3
TheSmileyCoder
2,322 Recognized Expert Moderator Top Contributor
Please show the code you currently use and where (which event) you use it at.
Apr 30 '11 #4

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

Similar topics

0
293
by: Shyguy | last post by:
I have two forms that both open the same (3rd) form. The third form does the same thing, but a little differently depending on which form it is opened from. Is there a way I can check which form is open so I can flag how the third form acts? Thanks for any help
0
1719
by: Kevin Waltman | last post by:
I am writing a client/server application that is using Remoting across TCP/IP. It does not use IIS or ASP in anyway. What I am looking to do is take the users WindowsIndentity from the remote machine client app and check it to see is it belongs to a group on the server running the server side app. The server is not the domain the server on the network. Just a standalone 2K Server. On the server I have a couple groups defined such as...
4
2681
by: Gene | last post by:
As my purpose is to load one form at a time, so I want to unload another form before loading the form. But how to check which form is being load, so I can unload it first.
3
1973
by: Parag Gaikwad | last post by:
Hi, I need to delete files across the network using web client (IE 6.x) in Win 2003 - IIS 6.0 environment. Can someone please suggest an approach I can use to acheive this. Will using FSO do the job or I have to go COM way. Thanks in advance. Parag
8
4182
by: News Microsoft | last post by:
Hi there. I would like to know how can I test if a Form exists. This is the situation: I have a single Form in my application. My objective is, when I minimize the form, it will disapear and a TrayIcon apears in the task bar. When I click that icon, the form apears again. The problem is that when I click the icon more than once, the form apears serveral times (several instances).
5
6554
by: wassimdaccache | last post by:
Hello everybody I'm using access 2003 Sometimes I use to open more than form in my project what I need is to check another form if still opened For example I have : form name X,Y,Z
1
1803
by: prakashwadhwani | last post by:
I have an app containing 9 forms which have approximately 2 to 3 combo boxes and 7 to 8 text boxes + a few labels (in each form). On the same PC the forms open very fast. However when I load the front end of the app on another PC across the network (100mbps), each form takes about 30 to 40 seconds to open the first time & subsequently approx 5 to 6 secs to open. The rowsource of the combo boxes are SQL statements as follows: combo1...
2
2688
by: Amit Thorat | last post by:
Is there a possibility to scan MS Access 2000 databases and their VBA code automatically? We need to scan several MS Access databases in network drive to check if they use network shares to create or read certain files. Is there any tool or freeware is available to do this scanning? Please let me know...its very urgent.
0
8674
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9026
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7723
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5860
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4366
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2328
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.