Hi, I'm doing database related application in Visual
Basic 6.0. I ran into problem when I want to pass the ID
(primary field) to the other form, how could I do that?
Are you displaying this ID in a textbox or other object on the form? If
so, then you can get it by referencing it from another form. For
example, in form2, you can say ...
myID = form1.textbox1.text
Jackie wrote:
Hi, I'm doing database related application in Visual Basic 6.0. I ran into problem when I want to pass the ID (primary field) to the other form, how could I do that?
Easiest way is you can declare you Global function and
variables in VB6 modules.
or you can pass variables to child form.
good day there
Ahsan
-----Original Message----- Hi, I'm doing database related application in Visual Basic 6.0. I ran into problem when I want to pass the ID (primary field) to the other form, how could I do that?
Hi, I'm doing database related application in Visual Basic 6.0. I ran into problem when I want to pass the ID (primary field) to the other form, how could I do that?
Please let me know soon!! Thanks, Jackie
Add a public property or public method to the form and access/call it.
This is a VB.Net group. For older versions please turn to
microsoft.public.vb.*
--
Armin
Hi guys,
As I am new to Python, i was wondering how to declare and use global
variables. Suppose i have the following structure in the same module (same
file):
def foo:
<instructions>...
I have been working on a function which makes it easier for me to pull
variables from the URL. So far I have:
<script language="JavaScript">
var variablesInUrl;
var vArray = new Array();
...
I'm having a vexing problem with global variables in Python. Please
consider the following Python code:
#! /usr/bin/env python
def tiny():
bar =
for tmp in foo:
bar.append(tmp)
foo = bar
C++: The Case Against Global Variables
Summary
This article explores the negative ramifications of using global variables. The use of global variables is such a problem that C++ architects have...
When I control if I print messages, I usually use a global variable
"int silent". When I set "-silent" flag in my command line
parameters, I set silent = 1 in my main.c.
I have many functions...
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...
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
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...
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,...
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,...
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...
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...
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...