Go Back   Access World Forums > Search Forums

 
Showing results 1 to 25 of 398
Search took 0.05 seconds.
Search: Posts Made By: Gasman
Forum: Forms 07-13-2019, 10:35 AM
Replies: 26
Views: 374
Posted By Micron
Re: How to make a field mandatory

AFAIK, if the field cannot accept zls then it will be null. Then again, I know if you try to add only a space to a table field, Access will remove it, hence still null.

Possibly something like...
Forum: Forms 07-12-2019, 07:05 PM
Replies: 26
Views: 374
Posted By Micron
Re: How to make a field mandatory

This works where I have both textboxes and combos where their Tag property is (e.g.)
reqd,message 4 and more text
Note that it is reqd and then a comma and then text with no spaces until the...
Forum: General 07-11-2019, 12:22 PM
Replies: 9
Views: 147
Posted By arnelgp
Re: Start an Access app from an external program?

you can use api to get ms access window handle number if the app is running. 0 if not running:

Option Explicit

' Module Name: ModFindWindowLike
' (c) 2005 Wayne Phillips...
Forum: Modules & VBA 07-10-2019, 02:38 PM
Replies: 14
Views: 315
Posted By sxschech
Re: How Does Outlook Resolve Email Addresses

Here is a function I use for resolving email addresses.

Public Function Outlook_Resolve(sendto As String)
'Resolve and return Outlook email address
'Code copied from Outlook_ReplyAll, so may...
Forum: Queries 07-09-2019, 12:12 AM
Replies: 9
Views: 189
Posted By CJ_London
Re: Multiple Appends

try sorting it?
Forum: Modules & VBA 07-03-2019, 07:38 PM
Replies: 30
Views: 559
Posted By GC2010
Re: VBA To Reply All Email

I'm still learning VBA but I frankenstiened some code together a few months back to do a similar task. Maybe this will point you in the right direction.

What this does is it scans the sent mail...
Forum: Modules & VBA 06-30-2019, 05:29 AM
Replies: 20
Views: 465
Posted By sonic8
Re: how to reduce the code lines

I think using the column names as fallback for no filter is not very intuitive.

However, the real problem is that it's not going to work this way. The text delimiters must not be used around the...
Forum: Modules & VBA 06-30-2019, 03:28 AM
Replies: 20
Views: 465
Posted By CJ_London
Re: how to reduce the code lines

not sure it makes for good sql

but for shortest code

Private Sub Text5_AfterUpdate()

'why is this line required
Me.child85.Form.RecordSource = "SELECT * FROM qry_Customers2 "
...
Forum: Forms 06-29-2019, 12:18 PM
Replies: 19
Views: 426
Posted By missinglinq
Re: Sequential Number in Access form(invoice box)

I see this advice, from time to time...and believe I even saw it in a hack by Allen Browne years ago...but in today's VBA it's inappropriate for this task.

The Form_BeforeUpdate event is, indeed,...
Forum: General 06-28-2019, 12:11 PM
Replies: 15
Views: 302
Posted By billgyrotech
Re: Can't Edit any Data in my Database

To let everyone here know I found the issue. I was in the middle of backing up the data to Excel and didn't realize the Excel file was still open so for some reason it was still linked some how. I...
Forum: Modules & VBA 06-21-2019, 08:20 AM
Replies: 11
Views: 326
Posted By bastanu
Re: Access 2007 VBa using Thunderbird Mail

Here is what I used, mind you was about 10 years ago:

Option Compare Database
Option Explicit

Declare Function apiShellExecute Lib "shell32.dll" _
Alias "ShellExecuteA" _
(ByVal hwnd...
Forum: Modules & VBA 06-14-2019, 05:28 PM
Replies: 15
Views: 287
Posted By MajP
Re: only allow correct data input

This maybe semantics but FAYT is not considered a built in feature by most people. The feature you are speaking of is autoexpand which is pretty limited.



FAYT is the ability to reduce the...
Forum: Forms 06-08-2019, 03:45 PM
Replies: 26
Views: 366
Posted By Micron
Re: Changing a subform property

Ok - it's a UK thing. I should have realized that camel case wouldn't cut me any slack - not that the word is in my vocab. Not even sure I know the UK meaning of it, but can guess now. :o
...
Forum: Forms 06-08-2019, 02:25 PM
Replies: 26
Views: 366
Posted By isladogs
Re: Changing a subform property

The reason for setting db=CurrentDb is that if Currentdb is used repeatedly in an app, Access has to interpret it each time which slightly increases processing time.

The triple state neutered...
Forum: Forms 06-08-2019, 01:22 PM
Replies: 26
Views: 366
Posted By Micron
Re: Changing a subform property

It's just another approach. Rather than repeatedly use the form control reference (which is longer than the variable name) I think it's shorter when it needs to be referred to several times. Maybe it...
Forum: Modules & VBA 06-01-2019, 11:49 AM
Replies: 7
Views: 327
Posted By olek_w1
Re: Timesheet Access DB templete wanted

Hello Terry,

Couple years ago I've developped database which is "work load and capacity planner"
You can see the working form in use at below video:...
Forum: General 06-01-2019, 01:59 AM
Replies: 27
Views: 685
Posted By isladogs
Re: Nz function - error "undefined function"

Nz is part of a standard library reference which will have been not working correctly with both 32 and 64-bit insralled


Sent from my iPhone using Tapatalk
Forum: General 05-26-2019, 08:39 AM
Replies: 56
Views: 1,533
Posted By apr pillai
Re: How do you save logged in user ID for later use?

It is possible to create Custom Properties on Form and Store and Retrieve Values on Open/Close Events and I use them for different purposes. UserIDs, Passwords or any other value we like to store...
Forum: Modules & VBA 05-26-2019, 03:43 AM
Replies: 25
Views: 639
Posted By gemma-the-husky
Re: Passing Numeric Value One Form to Another

I was just demonstrating that you can pass the instance of the entire class to a different sub. It depends how complicated the class is - obviously a real class is likely to include some internal...
Forum: Modules & VBA 05-25-2019, 09:10 AM
Replies: 25
Views: 639
Posted By gemma-the-husky
Re: Passing Numeric Value One Form to Another

well if you have a class which contains a value you want to track, you can read and write your value with the class.


eg
create a class module called clsLngVar. It references a singular long...
Forum: Forms 05-23-2019, 10:10 AM
Replies: 30
Views: 435
Posted By theDBguy
Re: Opening a new linked form gives #Name error

And the other thing is if the users change their minds and simply closed the new form, you could get left with an empty record if you didn't use the default value property.
Forum: Forms 05-23-2019, 08:41 AM
Replies: 30
Views: 435
Posted By theDBguy
Re: Opening a new linked form gives #Name error

Here's what the Help File says on the topic.


https://www.access-programmers.co.uk/forums/attachment.php?attachmentid=74970&stc=1&d=1558629686
Forum: Forms 05-23-2019, 08:31 AM
Replies: 30
Views: 435
Posted By Micron
Re: Opening a new linked form gives #Name error

Not sure but my guess would be that the DefaultValue property data type is Variant seeing as how it can accept anything but auto number or OLE. Therefore, the OpenArgs value would have to be properly...
Forum: Excel 05-22-2019, 12:49 PM
Replies: 56
Views: 958
Posted By June7
Re: get details of song being played

Only place I can find duration is Windows file properties. Example:


Sub GetLength()
With CreateObject("shell.application").Namespace("C:\Users\June\")
Debug.Print...
Forum: Modules & VBA 05-19-2019, 02:15 PM
Replies: 22
Views: 365
Posted By Solo712
Re: Is Day In String of days

A simpler way to do it would be :NextFriday = pDate + 8 - Weekday(pDate, vbFriday)

Best,
Jiri
Showing results 1 to 25 of 398

 
Forum Jump



All times are GMT -8. The time now is 12:34 AM.


Microsoft Access Help
General
Tables
Queries
Forms
Reports
Macros
Modules & VBA
Theory & Practice
Access FAQs
Code Repository
Sample Databases
Video Tutorials

Featured Forum post


Sponsored Links


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World